package com.zzy.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzy.utils.utils.PageUtils;
import com.zzy.product.entity.ProductAttrValueEntity;

import java.util.List;
import java.util.Map;

/**
 * spu属性值
 *
 * @author kazu
 * @email kazu_zhang@163.com
 * @date 2023-02-01 21:39:21
 */
public interface ProductAttrValueService extends IService<ProductAttrValueEntity> {

    PageUtils queryPage(Map<String, Object> params);
	
	void saveProductAttr(List<ProductAttrValueEntity> collect);
	
	List<ProductAttrValueEntity> baseAttrListForSpu(Long spuId);
	
	void updateSpuAttr(Long spuId, List<ProductAttrValueEntity> entities);
	
}

